package com.foftact.etfposi;

import java.util.List;

/**
 * ETF持仓明细响应DTO类
 * 用于表示API返回的完整数据结构
 */
public class ETFPosiationResponseDTO {
    private String content;      // 包含持仓数据的HTML内容
    private List<Integer> arryear; // 可用的年份列表
    private Integer curyear;     // 当前年份

    // getter和setter方法
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<Integer> getArryear() {
        return arryear;
    }

    public void setArryear(List<Integer> arryear) {
        this.arryear = arryear;
    }

    public Integer getCuryear() {
        return curyear;
    }

    public void setCuryear(Integer curyear) {
        this.curyear = curyear;
    }

    @Override
    public String toString() {
        return "ETFPosiationResponseDTO{" +
                "content='" + content + '\'' +
                ", arryear=" + arryear +
                ", curyear=" + curyear +
                '}';
    }
}